package com.zretc.entity;

import org.springframework.stereotype.Component;

@Component
public class Manage {

    //场次管理id
    private String manageId;
    //影片对象
    private Movie movie;
    //关联播放厅对象
    private BroadcastHall broadcastHall;
    //开始时间
    private String startTime;
    //结束时间
    private String endTime;

    public Manage() {
    }

    public Manage(String manageId, Movie movie, BroadcastHall broadcastHall, String startTime, String endTime) {
        this.manageId = manageId;
        this.movie = movie;
        this.broadcastHall = broadcastHall;
        this.startTime = startTime;
        this.endTime = endTime;
    }

    public String getManageId() {
        return manageId;
    }

    public void setManageId(String manageId) {
        this.manageId = manageId;
    }

    public Movie getMovie() {
        return movie;
    }

    public void setMovie(Movie movie) {
        this.movie = movie;
    }

    public BroadcastHall getBroadcastHall() {
        return broadcastHall;
    }

    public void setBroadcastHall(BroadcastHall broadcastHall) {
        this.broadcastHall = broadcastHall;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "Manage{" +
                "manageId='" + manageId + '\'' +
                ", movie=" + movie +
                ", broadcastHall=" + broadcastHall +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                '}';
    }
}
